@import (reference) "./variable.less";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  //vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}

html, body {
  // font-size: @font-size;
  font: 14px Droid Sans Fallback, Microsoft YaHei, Tahoma, Arial, sans-serif;
  line-height: 1;
  background: #ffffff;
  color: @font-color-main;
  -webkit-font-smoothing: antialiased;
}

html,
body{
  height: 100%;
  // overflow: auto;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  border: none;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: @font-color-main;
}

input {
  border: none;
  box-sizing: border-box;
}

/*文字省略*/
.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.clearfix:after {
  content: "";
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
}

.clearfix {
  zoom: 1;
}

.file-wrapper {
  display: flex;
  justify-content: space-between;
}
.disabled-block {
  background:#AAAAAA;
  color: #333 !important;
  height: 30px;
  line-height: 30px;
}
.fl {
  float: left;
}

.fr {
  float: right;
}

.pointer {
  cursor: pointer;
}

.vtm {
  vertical-align: middle;
}

.dib {
  display: inline-block;
}

.tac {
  text-align: center;
}
.tar {
  text-align: right;
}

.flex {
  display: flex;
  display: -webkit-flex;
}

.flex-one {
  flex: 1;
  -webkit-flex: 1;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  box-shadow: inset 0 0 0 1000px #fff;
}

.logo {
  width: 74px;
  height: 80px;
}

.user-avatar {
  display: inline-block;
  width: 40px;
  height: 40px;
}

#app-content {
  min-height: calc(100% - 200px); //200:header+footer+margin
}

.wrap {
  width: @content-width;
  margin: auto;
}

.subheader {
  width: 100%;
  height: 70px;
  min-width: @content-width;
  background: @white;
  //border-top: 1px solid @border-color;
  box-shadow: 0 4px 5px 0 @shadow-color;

  .subheader-content {
    width: @content-width;
    margin: auto;
  }
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix {
  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow: hidden;
  }
}

.font-bold {
  font-weight: bold;
}

.breadcrumb-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 20px;

  .iconfont.icon-fanhui {
    margin-right: 5px;
    font-size: 14px;
  }
}


.material-catalog .el-tree-node  .el-tree-node__children, .knowledge-catalog-con .el-tree-node  .el-tree-node__children, .user-detail.el-tree-node  .el-tree-node__children,.user-con .el-tree-node.el-tree-node__children ,.user-catalog .el-tree-node>.el-tree-node__children{
  overflow: visible !important;
}

.router-link-active {
  color: @primary;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.gray-font {
  color: #ccc;
}
.el-tree-node__label{
  .ellipsis;
}
.fw{
  font-weight: bold;
}
.red-font{
  color: red !important;
}
.black-font{
  color: #000;
}
.primary-font{
  color: #2994FD;
}
.blue-font{
 color: rgb(0, 0, 255);
}
.org-font {
  color: #F59A23;
}
.green-font {
  color: #70B603;
  }
.pagination-box {
  text-align: center;
  margin-top: 10px;
}
.bg-purple {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  &>span:nth-child(1) {
      margin-right: 15px;
      text-align: right;
      min-width: 60px;
  }
  &>p {
      max-width: 250px;
      overflow-wrap: anywhere;
  }
  .reviewer {
      font-weight: bold;
      color: #333;
      font-size: 16px;
  }
  
  &>.el-date-editor {
      // width: 100%;
      width: 230px;
      min-width: 150px;
  }
  &>.el-input{
      // width: 100%;
      width: 217px;
      min-width: 150px;
  }
  @media screen and (max-width: 1380px) {
      .el-input,
      .el-date-editor,
      .el-select {
          width: 150px;
      }
  }
  @media screen and (max-width: 10px) {
      .el-input,
      .el-date-editor,
      .el-select {
          width: 150px;
      }
  }
}
  .dialog-model { //弹框 颜色
    line-height: normal;
    .el-dialog__header{
      // padding: 15px 20px 10px !important;
      background: rgba(51, 153, 255, 1);
      padding: 10px 20px 10px 15px;
      .el-dialog__title {
          color: #fff;
      }
      .el-dialog__headerbtn {
          top: 15px;
          .el-dialog__close {
               color: #fff;
          }
      }
      
    }
     .el-dialog__footer{
      text-align: center;
      
    }
    
  }
  .max500 {
    max-height: 500px;
    overflow: auto;
  }

